package springbook.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
public enum ResultCodeEnum {
    SUCCESS(200,"登陆成功"),
    NOLOGIN(-1,"未登陆"),
    FAIL(-2,"其他错误"),;

    @Getter
    private int code;
    @Getter
    private String name;

}
